<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class UserAddress extends Model
{
    use HasFactory;

    protected $fillable = ['user_id', 'name', 'phone', 'city', 'province', 'is_default', 'address_line', 'status', 'order'];

    public function users()
    {
        return $this->belongsTo(User::class, 'user_id');
    }
}
